package com.qqtech.qquan.community.model;

import java.sql.Timestamp;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class CommunityJoin extends BaseDomain {
	// columns START
	/**
	 * 退出时间
	 */
	private Timestamp quitAt;

	/** 用户ID */
	private java.lang.Integer userId;

	/** 社区id */
	private java.lang.Integer communityId;

	/** 状态CommunityJoinStatusEnum:1-正常;2-退出 */
	private java.lang.Integer status;

	// columns END
	public CommunityJoin() {
	}

	public CommunityJoin(java.lang.Integer id) {
		this.id = id;
	}

	public java.lang.Integer getCommunityId() {
		return this.communityId;
	}

	public Timestamp getQuitAt() {
		return quitAt;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public void setQuitAt(Timestamp quitAt) {
		this.quitAt = quitAt;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
